<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>申请审核</title>
</head>
<body class="layui-layout-body">
 <div class="layui-body">
        <!-- 内容主体区域 -->
        <div class="body_right">
            <h4 class="nav_title">我的待办</h4>
            <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
                <ul class="layui-tab-title">
                    <li class="layui-this" lay-id="PENDING">待办任务</li>
                    <li lay-id="NOTICE">消息通知</li>
                </ul>
                <div class="layui-tab-content" style="height: 100px;">
                    <div class="layui-tab-item layui-show">
                        <table class="layui-table mytable" lay-even="" lay-skin="nob">
                            <thead>
	                            <tr>
	                                <th>申请时间</th>
	                                <th>类型</th>
	                                <th>印章名称</th>
	                                <th>申请次数</th>
	                                <th>操作</th>
	                            </tr>
                            </thead>
                            <tbody>
                            		<#list pm.datas as item>
	                            <tr>
	                                <td>${item.apply.applyTime?string('yyyy-MM-dd HH:mm:ss')}</td>
	                                <td>${item.apply.applyType}</td>
	                                <td>${item.apply.seal.sealName}</td>
	                                <td>${item.apply.applyTimes}</td>
	                                <td class="aline_a">
	                                		<a href="javascript:openwinx('查看','/verify/info.htm?applyVerifyId=${item.applyVerifyId}',800,600);">查看</a>
		                                	<#if item.verifyStatus=='PENDING'>
		                                	<a href="javascript:openwinx('审核','/verify/info.htm?applyVerifyId=${item.applyVerifyId}',800,600);">审核</a>
		                                	</#if>
	                                </td>
	                            </tr>
	                            </#list>
                            </tbody>
                        </table>
                        <@p.page pm=pm></@p.page>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script>
	layui.use(['element','laydate'], function(){
	  var $ = layui.jquery,element = layui.element; 
	  element.on('tab(docDemoTabBrief)', function(elem){
	  		var id = $(this).attr('lay-id');
	  		if(id == 'NOTICE'){
	  			location.href='/notice/list.htm';
	  		}
	  });
	});
	</script>    
    
</body>
</html>